package com.oepm.dao.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("菜单(权限)实体类")
public class PermissionPo {
    @ApiModelProperty("权限id")
    public String id;
    @ApiModelProperty("权限名")
    public String authName;
    @ApiModelProperty("权限路径")
    public String path;
    @ApiModelProperty("子权限")
    public List<PermissionPo> children;
}
